package structurePattern.adapterPattern.objectAdapter;

public class MyAdapter implements MyInterface {

	private MyClass obj;

	public MyAdapter(MyClass obj) {
		super();
		this.obj = obj;
	}

	@Override
	public void method1() {
		obj.methodA();
	}

	@Override
	public void method2() {
		obj.methodB();
	}

}
